﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using KPIS.GERP.GFMS.MODEL;
using KPIS.GERP.GFMS.IBLL;
using KPIS.GERP.GFMS.IDAL;
using KPIS.GERP.GFMS.DALFactory;

namespace KPIS.GERP.GFMS.BLL
{
    public class B_ACM_GENERATE_ACCOUNT_Auto:IBLL_ACM_GENERATE_ACCOUNT_Auto
    {
        Common common = new Common();
        private static readonly IDAL_ACM_GENERATE_ACCOUNT_Auto dal = DataAccess.Create_ACM_GENERATE_ACCOUNT_Auto();

       
        public IList<M_ACM_GENERATE_ACCOUNT_Auto> GetListMaster(string seq, string reftype)
        {
            return dal.GetListMaster(seq, reftype);
            //throw new NotImplementedException();
        }

        public IList<M_ACM_GENERATE_ACCOUNT_Auto> GetListDetail(int? ref_seq, string ref_type)
        {
            Nullable<int> nref_seq = common.ConvertNullInt(ref_seq);
            return dal.GetListDetail(nref_seq, ref_type);
           // throw new NotImplementedException();
        }
    }
}
